]> dgit.raspbian.org Git - gnome-shell.git/commit
altTab: Ensure style of this._list before calculating icon sizes
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 20 Jun 2019 21:01:52 +0000 (23:01 +0200)
committerJonas Dreßler <verdre@v0yd.nl>
Mon, 1 Jul 2019 18:05:16 +0000 (20:05 +0200)
commiteab320dab59e702cda3d2864be2bb59c03d34d79
tree808ad8348c5c524707450ba5279d5c4d770b23ee
parent04c7cb6fbefda4c3a550ab509ac8429df401d05d
altTab: Ensure style of this._list before calculating icon sizes

We're calculating icon sizes for the alt tab switcher early and at a
point where the style attributes of this._list are not loaded yet. To
make sure the value of this._list.spacing is correct, call
ensure_style() on this._list before accessing the spacing.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/587
js/ui/altTab.js